import request from '@/utils/request'


/**
 * 采购分页
 */
export function getPurchasePageList(data){
  return request({
    url: 'purchase/getPurchasePageList',
    method: 'post',
    data:data
  })
}
/**
 * 增加采购
 */
export function savePurchase(data){
  return request({
    url: 'purchase/savePurchase',
    method: 'post',
    data:data
  })
}
/**
 * 采购详情
 */
export function getPurchaseDetails(data){
  return request({
    url: 'purchase/getPurchaseDetails',
    method: 'post',
    data: data
  })
}

/**
 * 模板商品列表
 */

export function getGoodsPageList(data){
  return request({
    url: 'goods/getGoodsPageList',
    method: 'post',
    data: data
  })
}
